package ru.kashtanov.myPracticeInSecurity.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class LoginController {

    @GetMapping("login")
    public String getLoginPage(){
        return "login";
    }
    @GetMapping("info")
    public String getCoursesPage(){
        return "info";
    }
}
